﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true" CodeBehind="ThongTinDoanhNghiep.aspx.cs" Inherits="LayoutTemplate.ThongTinDoanhNghiep" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<style type="text/css">
    .newStyle1 {
	width: 150px;
	height: 407px;
	float: left;
}
.newStyle2 {
	width: 300px;
	height: 70px;
	float: left;
}
.newStyle3 {
	width: 100px;
	height: 70px;
	float: left;
}
.newStyle4 {
	float: left;
	width: 400px;
	height: 409px;
}
</style>
<%  
    {
        string maDoanhNghiep = Request.QueryString["id"].ToString();
        DAO_DTO_WS.DTO.DoanhNghiepDTO doanhnghiep = new DAO_DTO_WS.DTO.DoanhNghiepDTO();
        doanhnghiep = DAO_DTO_WS.DAO.DoanhNghiepDAO.LayDNTheoMa(int.Parse(maDoanhNghiep));
        lbTenDoanhNghiep.Text = doanhnghiep.TenDoanhNghiep;
        lbDiaChi.Text = doanhnghiep.DiaChi;
        lbDienThoai.Text = doanhnghiep.DienThoai;
        lbWebsite.Text = doanhnghiep.WebSite;
    }
 %>
		<div class="newStyle1">
			<div>
				<asp:Label runat="server" Text="Tên doanh nghiệp" id="Label1" 
                    CssClass="newStyle3"></asp:Label></div>
			<div>
				<asp:Label runat="server" Text="Địa chỉ" id="Label3" CssClass="newStyle3"></asp:Label></div>
			<div>
				<asp:Label runat="server" Text="Điện thoại" id="Label4" CssClass="newStyle3"></asp:Label></div>
			<div>
				<asp:Label runat="server" Text="Website" id="Label5" CssClass="newStyle3"></asp:Label></div>
			<div>
				</div>
			<div>
				</div>
		</div>
		<div class="newStyle4">
			<div class="newStyle2">
				<div><asp:Label id="lbTenDoanhNghiep" runat="server" ></asp:Label></div>
			</div>
			
			<div class="newStyle2">
				<div><asp:Label id="lbDiaChi" runat="server" ></asp:Label></div>
			</div>
			
			<div class="newStyle2">
				<div><asp:Label id="lbDienThoai" runat="server" ></asp:Label></div>
			</div>
			
			<div class="newStyle2">
				<div><asp:Label id="lbWebsite" runat="server" ></asp:Label></div>
			</div>
			<div class="newStyle2">
				<div></div>
			</div>
		</div>
			<div style="float:right;width:50%">
                <asp:Button id="btnTroVe" runat="server" 
                    Text="Trở về" onclick="btnTroVe_Click" /></div>

</asp:Content>
